package com.pi2e.view.common;

import com.pi2e.R;

import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class FootView {
	
	
	private TextView tex ;
	private Button btn_ok ;
	private View view ;
	private String texValue ;
	private  OkOnclickListener mOkOnclickListener ;
	public FootView(Context context,View view) {
		
		if (null != view) {
			this.view = view ;
			tex = (TextView) view.findViewById(R.id.tex_foot) ;
			btn_ok = (Button) view.findViewById(R.id.btn_ok_foot) ;
			
			
		}
	}
	public TextView getTex() {
		return tex;
	}
	public void setTex(TextView tex) {
		this.tex = tex;
	}
	public Button getBtn_ok() {
		return btn_ok;
	}
	public void setBtn_ok(Button btn_ok) {
		this.btn_ok = btn_ok;
	}
	public View getView() {
		return view;
	}
	public void setView(View view) {
		this.view = view;
	}
	
	public interface OkOnclickListener{
		
		Object btnOnclick() ;
	}
	
	public Object ok(OkOnclickListener okOnclickListener){
		this.mOkOnclickListener = okOnclickListener ;
		return this.view ;
	}
	
	
	

}
